package com.jumi.microservice.domain;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 运费模板详情表
 * </p>
 *
 * @author liuz
 * @since 2020-07-27
 */
@ApiModel(value="FreightTemplateExtend对象", description="运费模板详情表")
public class FreightTemplateExtendVO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "运费模板ID")
    private Long templateId;

    @ApiModelProperty(value = "是否默认运费1是2否")
    private String isDefault;

    @ApiModelProperty(value = "市级地区ID组成的串，以，隔开，两端也有，")
    private String areaId;

    @ApiModelProperty(value = "省级地区ID组成的串，以，隔开，两端也有，")
    private String topAreaId;

    @ApiModelProperty(value = "地区name组成的串，以，隔开")
    private String areaName;

    @ApiModelProperty(value = "首件数量")
    private Integer snum;

    @ApiModelProperty(value = "首件运费")
    private BigDecimal sprice;

    @ApiModelProperty(value = "首件重量")
    private BigDecimal sweight;

    @ApiModelProperty(value = "首重运费")
    private BigDecimal swprice;

    @ApiModelProperty(value = "续件数量")
    private Integer xnum;

    @ApiModelProperty(value = "续件运费")
    private BigDecimal xprice;

    @ApiModelProperty(value = "续重运费")
    private BigDecimal xwprice;

    @ApiModelProperty(value = "续件重量")
    private BigDecimal xweight;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getTopAreaId() {
        return topAreaId;
    }

    public void setTopAreaId(String topAreaId) {
        this.topAreaId = topAreaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Integer getSnum() {
        return snum;
    }

    public void setSnum(Integer snum) {
        this.snum = snum;
    }

    public BigDecimal getSprice() {
        return sprice;
    }

    public void setSprice(BigDecimal sprice) {
        this.sprice = sprice;
    }

    public BigDecimal getSweight() {
        return sweight;
    }

    public void setSweight(BigDecimal sweight) {
        this.sweight = sweight;
    }

    public Integer getXnum() {
        return xnum;
    }

    public void setXnum(Integer xnum) {
        this.xnum = xnum;
    }

    public BigDecimal getXprice() {
        return xprice;
    }

    public void setXprice(BigDecimal xprice) {
        this.xprice = xprice;
    }

    public BigDecimal getXweight() {
        return xweight;
    }

    public void setXweight(BigDecimal xweight) {
        this.xweight = xweight;
    }

    public BigDecimal getSwprice() {
        return swprice;
    }

    public void setSwprice(BigDecimal swprice) {
        this.swprice = swprice;
    }

    public BigDecimal getXwprice() {
        return xwprice;
    }

    public void setXwprice(BigDecimal xwprice) {
        this.xwprice = xwprice;
    }
}
